package com.ljc.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface UserCoinMapper {
    Integer getUserCoinsAmount(Long userId);

    Integer updateUserCoinAmount(@Param("userId") Long userId, @Param("amount") Integer amount,
                                 @Param("updateTime") Date updateTime);
}
